using System;
using System.Collections.Generic;
using System.Linq;
using M1;
using UnityEngine;

[CreateAssetMenu(fileName = "对白数据配置",menuName = "创建数据/对白数据配置")]
public class 对白数据 : BaseModel<对白数据,对白数据Data>
{
    public List<对白数据Data> Get对白(int id)
    {
        return Datas.Where(w => w.DialogId == id).ToList();
    }
}

[Serializable]
public class 对白数据Data
{
    public int Id;
    public int DialogId;
    public string 说话者;
    public int 左边;
    public int 左边皮肤;
    public int 左边装饰;

    public string 左边名字;
    public string 左边表情;
    public string 对话内容;
    public string 右边表情;
    public string 右边名字;
    public int 右边;
    public int 右边皮肤;
    public int 右边装饰;
}